package com.iscreen.utils.exceptions;

public interface IScreenExceptionCodes
{
	//General errors
	public final int UNKNOWN_ERROR = 10001;
	public final int INTERNAL_ERROR = 10002;
	
	//Database errors
	public final int DB_CONNECTION_ERROR = 11001;
	public final int DB_DRIVER_NOT_SUPPORTED = 11002;
	public final int DB_DRIVER_NOT_FOUND = 11003;
	public final int DB_GENERAL_ERROR = 11004;
	
	public final int DB_DUPLICATE_ENTRY = 11101;
	
	//Configuration errors
	public final int MISSING_CONFIG_PARAM = 12001;
	public final int CONFIG_FILE_NOT_FOUND = 12002;
	public final int CONFIG_FILE_LOAD_ERROR = 12003;

	//Utilities errors
	public final int FILE_DOWNLOAD_ERROR = 13001;
	public final int HTML_PARSE_ERROR = 13002;
	public final int ZIP_EXTRACT_ERROR = 13003;
	public final int JMS_SEND_ERROR = 13004;
	public final int FLOW_ERROR = 13005;
	public final int XML_SCHEMA_PARSE_ERROR = 13006;
	public final int XML_BINDING_ERROR = 13007;
	public final int DATE_PARSE_ERROR = 13008;
	public final int JNDI_ERROR = 13009;
	
	//Application errors
	public final int SYSTEM_PARAMETER_NOT_FOUND = 15001;
	public final int DAILY_DATA_PARSE_ERROR = 15002;
	
}
